package datamodels

type User struct {
	ID           int64  `json:"id" form:"ID" sql:"id" `
	PhoneNum     string `json:"用户名" form:"phoneNum" sql:"phone_num" validate:"required,phone"`
	UserName     string `json:"userName" form:"userName" sql:"username" validate:"omitempty,required,min=3,max=15,username"`
	HashPassword string `json:"-" form:"passWord" sql:"password" validate:"omitempty,required,username"`
}
